package com.shop.shoppojo.vo;

import com.shop.shoppojo.entity.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 封装返回的评论的信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommentUserVO  implements Serializable {
    // 序列化版本号
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    //主键id
    private Integer score;
    //评分
    private String content;
    //评论内容
    private LocalDateTime createTime;
    //评论创建时间
    private Long  userId;
    //评论用户的ID
    private Long  goodsId;
    //评论商品的ID
    private List<CommentUserListVO> user;
    //评论对应的用户信息




}
